package com.group.view;

import java.util.List;

/**
 * 现货期货的交易对列表
 *
 * @author Qingjie Lang
 */
public class SpotFuturesView {
    private int id;
    /**
     * 交易对
     */
    private KeyBean key;
    /**
     * 交易对列表
     */
    private List<KeyBean> list;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public KeyBean getKey() {
        return key;
    }

    public void setKey(KeyBean key) {
        this.key = key;
    }

    public List<KeyBean> getList() {
        return list;
    }

    public void setList(List<KeyBean> list) {
        this.list = list;
    }

    public SpotFuturesView(int id, KeyBean key, List<KeyBean> list) {
        this.id = id;
        this.key = key;
        this.list = list;
    }
}
